﻿namespace AK.Wwise.Editor
{
	[UnityEditor.CustomPropertyDrawer(typeof(State))]
	public class StateDrawer : BaseTypeDrawer
	{
		protected override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.State; } }

        protected override void OnPickerChanged(UnityEditor.SerializedProperty property, AK.Wwise.TreeView.TreeViewItem treeItem)
        {
            PickerChangeGroup(property, treeItem, AkWwiseProjectInfo.GetData().StateWwu);
        }
    }
}
